﻿<%@ Page Title="" Language="VB" MasterPageFile="~/App/Master/App.master" AutoEventWireup="false" CodeFile="FollowersOverview.aspx.vb" Inherits="App_FollowersOverview" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CphHead" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CphMainContent" runat="Server">
    <asp:UpdatePanel ID="UpPCharActivity" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <div id="content_UpPCharActivity" class="widget_left_1" style="height: 330px; width: 950px;">
                <div class="header">
                    FOLLOWERS CATEGORIZE
                </div>
                <div class="body">
<%--                    <asp:Chart ID="ChartActivity" runat="server" Height="300px" Width="950px" />--%>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
        <div class="return" style="padding-top: 20px;">
    </div>

    <div id="content_UpPNewFoll" class="widget_right_1" style="height:auto; width: 950px;">
        <div class="header">
            <asp:Label runat="server" ID="LblUpPNewFoll" Text='' Font-Size="24px" Font-Bold="true"></asp:Label>
            FOLLOWERS
        </div>
        <div class="body" style="height:auto; ">
            <asp:GridView ID="GridUsers" runat="server" CssClass="table_result" AutoGenerateColumns="False" AllowSorting="true" AllowPaging="True" Width="100%">
                <Columns>
                    <%--                                <asp:TemplateField HeaderText="id" SortExpression="id">
                                    <ItemTemplate>
                                        <asp:Label runat="server" Text='<%# eval("id") %>'></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>--%>
                    <asp:TemplateField HeaderText="Nome" SortExpression="fullname">
                        <ItemTemplate>
                            <asp:HyperLink runat="server" NavigateUrl='<%# "https://twitter.com/" & eval("username") %>' Target="_blank">
                                <asp:Label runat="server" Text='<%# eval("fullname") %>'></asp:Label>
                            </asp:HyperLink>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="image">
                        <ItemTemplate>
                            <asp:HyperLink runat="server" NavigateUrl='<%# eval("url") %>' Target="_blank">
                                            <img src="<%# eval("avatar") %>" />
                            </asp:HyperLink>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="description">
                        <ItemTemplate>
                            <asp:Label runat="server" Text='<%# eval("description") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="location">
                        <ItemTemplate>
                            <asp:Label runat="server" Text='<%# eval("location") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="follower" ItemStyle-HorizontalAlign="Center">
                        <ItemTemplate>
                            <asp:Label runat="server" Text='<%# ui.print.num0(eval("follower_count")) %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="post" ItemStyle-HorizontalAlign="Center">
                        <ItemTemplate>
                            <asp:Label runat="server" Text='<%# ui.print.num0(eval("Post_Count")) %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Accuracy" SortExpression="accuracy" ItemStyle-HorizontalAlign="Center">
                        <ItemTemplate>
                            <asp:Label Font-Bold="true" runat="server" Text='<%# ui.print.num0(eval("accuracy")) %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Post trovati" ItemStyle-HorizontalAlign="Center">
                        <ItemTemplate>
                            <asp:Label runat="server" Text='<%# ui.print.num0(eval("Post_total")) %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <AlternatingRowStyle CssClass="AlternatingRow Padding2" />
                <HeaderStyle CssClass="Header" />
                <SelectedRowStyle BackColor="LightGreen" />
                <RowStyle CssClass="Row Padding2" />
            </asp:GridView>
        </div>
    </div>


</asp:Content>
